package com.ziyun.erp.common.e.service;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * 售后订单状态
 *
 * @author zh
 * @date 2018/8/617:55
 */
public enum ServiceStatusEnum implements BaseEnum {
    SERVICE_WAIT_CHECK(1, "待审核"),
    SERVICE_CHECKED(2, "已审核"),
    SERVICE_COLLECT_GOODS(3, "已收货"),
    SERVICE_REFUND(4, "已退款"),
    SERVICE_TO_PRODUCE(5, "已转生产"),
    SERVICE_DELIVER_GOODS(6, "已发货"),
    SERVICE_CUSTOMER_COLLECT_GOODS(7, "客户已收货"),
    SERVICE_FINISHED(8, "售后完成"),
    SERVICE_CLOSED(9, "订单关闭");

    private int id;
    private String describe;

    ServiceStatusEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    ;

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
